package com.net.oil.TechnologySupport.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：lch
 * 时间：2018/4/14 0014:上午 9:12
 * 邮箱：245850413@qq.com
 * 说明：
 */

public class TechnologyListBean {

    /**
     * paging : {"total":2,"current":0,"pageSize":10}
     * list : [{"id":18,"catId":8,"title":"如何更换机油","defined":"如何更换机油","content":"<p>如何更换机油<\/p><p>如何更换机油<\/p><p>如何更换机油<\/p><p>如何更换机油<\/p>","image":null,"click":0,"keywords":null,"description":null,"addTime":1520265600000,"sort":1,"status":1},{"id":17,"catId":8,"title":"机油如何更换","defined":"","content":"机油如何更换机油如何更换机油如何更换机油如何更换机油如何更换机油如何更换机油如何更换机油如何更换机油如何更换","image":"","click":44,"keywords":"机油如何更换","description":"机油如何更换","addTime":1511059355,"sort":0,"status":1}]
     */

    private PagingBean paging;
    private List<ListBean> list;

    public PagingBean getPaging() {
        return paging;
    }

    public void setPaging(PagingBean paging) {
        this.paging = paging;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class PagingBean {
        /**
         * total : 2
         * current : 0
         * pageSize : 10
         */

        private int total;
        private int current;
        private int pageSize;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }
    }

    public static class ListBean implements Serializable{
        /**
         * id : 18
         * catId : 8
         * title : 如何更换机油
         * defined : 如何更换机油
         * content : <p>如何更换机油</p><p>如何更换机油</p><p>如何更换机油</p><p>如何更换机油</p>
         * image : null
         * click : 0
         * keywords : null
         * description : null
         * addTime : 1520265600000
         * sort : 1
         * status : 1
         */

        private int id;
        private int catId;
        private String title;
        private String defined;
        private String content;
        private String image;
        private int readCount;
        private String keywords;
        private String description;
        private long addTime;
        private int sort;
        private int status;
        private String openUrl;

        public String getOpenUrl() {
            return openUrl;
        }

        public void setOpenUrl(String openUrl) {
            this.openUrl = openUrl;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getCatId() {
            return catId;
        }

        public void setCatId(int catId) {
            this.catId = catId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDefined() {
            return defined;
        }

        public void setDefined(String defined) {
            this.defined = defined;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getReadCount() {
            return readCount;
        }

        public void setReadCount(int readCount) {
            this.readCount = readCount;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public long getAddTime() {
            return addTime;
        }

        public void setAddTime(long addTime) {
            this.addTime = addTime;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
